package com.ruoyi.campus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 my_order
 *
 * @author zht
 * @date 2021-10-24
 */
public class MyOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private String orderId;

    /** 商品id */
    @Excel(name = "商品id")
    private String comId;

    /** 商品名 */
    private String comName;

    /** 发布者id */
    @Excel(name = "发布者id")
    private Long iuserId;

    /** 发布者账号 */
    private String iuserName;

    /** 购买者id */
    @Excel(name = "购买者id")
    private Long suserId;

    /** 购买者账号 */
    private String suserName;

    /** 评价信息 */
    private String evaluate;

    /** 状态：0待确认 1已完成 */
    @Excel(name = "状态：0待确认 1已完成")
    private String orderStatus;

    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setComId(String comId)
    {
        this.comId = comId;
    }

    public String getComId()
    {
        return comId;
    }
    public void setIuserId(Long iuserId)
    {
        this.iuserId = iuserId;
    }

    public Long getIuserId()
    {
        return iuserId;
    }
    public void setSuserId(Long suserId)
    {
        this.suserId = suserId;
    }

    public Long getSuserId()
    {
        return suserId;
    }
    public void setEvaluate(String evaluate)
    {
        this.evaluate = evaluate;
    }

    public String getEvaluate()
    {
        return evaluate;
    }
    public void setOrderStatus(String orderStatus)
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus()
    {
        return orderStatus;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getIuserName() {
        return iuserName;
    }

    public void setIuserName(String iuserName) {
        this.iuserName = iuserName;
    }

    public String getSuserName() {
        return suserName;
    }

    public void setSuserName(String suserName) {
        this.suserName = suserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("comId", getComId())
            .append("comName", getComName())
            .append("iuserId", getIuserId())
            .append("iuserName", getIuserName())
            .append("suserId", getSuserId())
            .append("suserName", getSuserName())
            .append("evaluate", getEvaluate())
            .append("createTime", getCreateTime())
            .append("orderStatus", getOrderStatus())
            .toString();
    }
}
